<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"
    \"http://www.w3.org/TR/html4/loose.dtd\">
<html>
    <head>
        <title>randam  Test</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
<script type='text/javascript'>
var display_char=[{disp_c:"a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,0,1,2,3,4,5,6,7,8,9",kaisuu:10}];
function rund_disp(){
var display_char_o    = display_char[0];
var disp_c            = display_char_o.disp_c;
var kaisuu            = display_char_o.kaisuu;
var disp_c_Array      = disp_c.split(",");
// 乱数を発生させる(Random number)
var rand_result="";
for(i = 0; i < kaisuu; i++){
rand_result           += disp_c_Array[Math.floor(Math.random()*disp_c_Array.length)];
}
$("#rand_resilt").html(rand_result);
//alert("rand_result="+rand_result);
}
</script>


</head>
<body>
<br><br><br><br>
<div id="rand_resilt"> </div>
<input type="button" value="実行" onclick="rund_disp()">
<br>

</body>
</html>
